//
//  ZYCTeaLeaveRcvStatusCollectionCell.m
//  ZDSC
//
//  Created by 张威 on 2021/10/28.
//

#import "ZYCTeaLeaveRcvStatusCollectionCell.h"

@implementation ZYCTeaLeaveRcvStatusCollectionCell

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self addSubview:self.statusLabel];
        [self.statusLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.equalTo(self);
        }];
    }
    return self;
}

- (UILabel *)statusLabel {
    if (!_statusLabel) {
        _statusLabel = [[UILabel alloc] init];
        _statusLabel.font = kCustomFont(@"PingFangSC-Regular", 14.0f);
        _statusLabel.textColor = HEX_RGB(@"#999898");
        _statusLabel.textAlignment = NSTextAlignmentCenter;
        _statusLabel.layer.cornerRadius = 13.5f;
        _statusLabel.layer.masksToBounds = YES;
        _statusLabel.backgroundColor = HEX_RGB(@"#D6D6D6");
    }
    return _statusLabel;
}

@end
